package com.yiwei.ydd.api.model;

import com.yiwei.ydd.api.ResponseModel;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by xsooy-pc on 18-8-8.
 */

public class CashBackIndexModel extends ResponseModel {

    /**
     * datas : {"total":{"this_month":210,"is_back":0,"last_back":760,"total":760},"item":[{"money":"100.00","period":"1","periods":"1","get_sdate":"1533546154","status":"2"},{"money":"110.00","period":"1","periods":"6","get_sdate":"1533547288","status":"2"}]}
     */

    public DatasBean datas;

    public static class DatasBean {
        /**
         * total : {"this_month":210,"is_back":0,"last_back":760,"total":760}
         * item : [{"money":"100.00","period":"1","periods":"1","get_sdate":"1533546154","status":"2"},{"money":"110.00","period":"1","periods":"6","get_sdate":"1533547288","status":"2"}]
         */

        public TotalBean total;
        public List<ItemBean> item;

        public static class TotalBean {
            /**
             * this_month : 210
             * is_back : 0
             * last_back : 760
             * total : 760
             */

            public String this_month;
            public String is_back;
            public String last_back;
            public String total;
        }

        public static class ItemBean {
            /**
             * money : 100.00
             * period : 1
             * periods : 1
             * get_sdate : 1533546154
             * status : 2
             */

            public String money;
            public String period;
            public String periods;
            public String get_sdate;
            public String status;
        }
    }
}
